package main

import "fmt"

func modify(array [5]int) {
	array[0] = 10 //modify array[0]
	fmt.Println("In modify(), array values: ", array)
}

func main() {
	array := [5]int{1, 2, 3, 4, 5}
	modify(array) //send array as parameter
	fmt.Println("In main(), array values: ", array)
}
